SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecb5e7385e4b725adedc51bf0f89e8d762a5d18976f180bada14b4d980f8b344' 
  AND token = '2vQY8IKQ8blecslRdNxIAEj4+IM/VSZNnJd7rgavhH0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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