SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d5f178597355eda2dd64c7b303f621d7991c3aa200c20dbe99eba2fddaac245' 
  AND token = 'NKq6Hl0ldnVgjnrbyavTcy3ExslgzaRyyaOI7zkza5Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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