SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '039ffe64d5d10745ee65c5daee0d97295bdfe58d565db07d1894492de2cb1dc6' 
  AND token = 'wQAiWnrJrR6h4i20na+/dNgRBxKV10tnWqsipfAHTtI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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