SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e47e36182bc728b3ca09c9515f92846efc167ab75b269ded7f2ce035c087472f' 
  AND token = 'P0DDbdRdLAAG1SXw8atpucX7yaUUUqWHTrnGOmVXkt8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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