SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae1009ef001ce47d1c6955d8e8197883469a28ae7e6317a4219feb8286fe36c3' 
  AND token = 'rK6LrsxFo/Jz1RsxaGXRQoQlJ6BO5q/3sgLA3AnSDqM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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