SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07ab38fdd9d9c977489d7989c8a22b230feb381305b10523ca2f82f4c9a035c0' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}