SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30059b971a26a61504ca230b26f9c1816bcac0007e0830e355f9fb5901ba272a' 
  AND token = '5EfFOMGW5fXsyDR/hzHVKXGoQBIYYjdAm9lWT7He9bo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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